package net.dgg.dggcloud.service.jrcrm.constant;

import java.util.HashSet;

/**
 * 客户相关常量
 * @ClassName: CustomerConstant
 * @Author: 周潮
 * @Date: 2017年11月09 17:22:00
 * @Version V1.0
 */


public class CustomerConstant {

    //联系方式-手机
    public static final String CUS_CONTACT_WAY_MOBILE = "MB";
    //联系方式-座机
    public static final String CUS_CONTACT_WAY_LANDLINE = "TEL";
    //联系方式-QQ
    public static final String CUS_CONTACT_WAY_QQ = "QQ";
    //联系方式-微信
    public static final String CUS_CONTACT_WAY_WX = "WX";
    //联系方式
    public static final String CUS_CONTACT_WAY = "KHLXFS";

    //关系
    public static final String CUS_RELATIONSHIP = "ORF_JDRGX";
    //性别
    public static final String CUS_SEX = "KHXB";

    //学历
    public static final String CUS_EDUCATION_GROUND = "KHXL";

    //婚姻状况
    public static final String CUS_MARRIAGE_CONDITION = "HYZK";

    /********************************联系人状态 code*****************************/
    //联系人状态-作废
    public static final String CUS_CONTACT_STATUS_0 = "CUS_CONT_STATUS_0";
    //联系人状态-可用
    public static final String CUS_CONTACT_STATUS_1 = "CUS_CONT_STATUS_1";
    //联系人状态-主联系人
    public static final String CUS_CONTACT_STATUS_2 = "CUS_CONT_STATUS_2";


    /********************************客户相关操作 code*****************************/
    //新增客户
    public static final String CUS_OPERATE_CUS_SAVE = "CUS_OPERATE_CUS_SAVE";
    //修改客户信息
    public static final String CUS_OPERATE_CUS_UPDATE = "CUS_OPERATE_CUS_UPDATE";
    //客户备注
    public static final String CUS_OPERATE_CUS_REMARK = "CUS_OPERATE_CUS_REMARK";
    //新增联系人
    public static final String CUS_OPERATE_CONTACT_SAVE = "CUS_OPERATE_CONTACT_SAVE";
    //修改联系人信息
    public static final String CUS_OPERATE_CONTACT_UPDATE = "CUS_OPERATE_CONTACT_UPDATE";
    //更新客户属性
    public static final String CUS_OPERATE_ATTR_UPDATE = "CUS_OPERATE_ATTR_UPDATE";
    //线索分配
    public static final String CUS_OPERATE_RES_ALLOT = "CUS_OPERATE_RES_ALLOT";

    /** 修改客户星级 */
    public static final String CUS_UPDATE_LEVEL = "CUS_UPDATE_LEVEL";

    //踢回事业部
    public static final String CUS_OPERATE_WHITE_KICK = "CUS_OPERATE_WHITE_KICK";

    //踢除
    public static final String CUS_OPERATE_WHITE_DETLETE = "CUS_OPERATE_WHITE_DETLETE";

    //广泛资源开发天数
    public static final String GZFL_GFLZ_1 = "GZFL_GFLZ_1";
    //推送资源开发周期
    public static final String GZFL_KHTS_5 = "GZFL_KHTS_5";
    //白名单客户拨打隐藏天数
    public static final String GZFL_KHTS_4 = "GZFL_KHTS_4";
    //事业部库拨打隐藏天数
    public static final String GZFL_SYB_3 = "GZFL_SYB_3";

    //联系方式
    public static final HashSet<String> contactWaySet = new HashSet<String>(){{add(CUS_CONTACT_WAY_MOBILE);
        add(CUS_CONTACT_WAY_LANDLINE); add(CUS_CONTACT_WAY_QQ);
        add(CUS_CONTACT_WAY_WX);}};
}
